package com.zhdl.modules.process.service;

import com.zhdl.modules.process.BaseProcess;
import com.zhdl.modules.process.service.StatusExchangeHolder;

public class PLCMainManagerStatusExchangeHolder implements StatusExchangeHolder {
    private final BaseProcess.StatusHolder statusHolder = new BaseProcess.StatusHolder();
    @Override
    public BaseProcess.StatusHolder getProcessStatusHolder() {
        return statusHolder;
    }

    @Override
    public void start() {
        statusHolder.isStart = true;
    }

    @Override
    public void initLocation() {

    }

    @Override
    public void stop() {

    }

    @Override
    public void reset() {

    }

    @Override
    public void initLocationComplete(boolean b) {

    }

    @Override
    public void setStopStatus(boolean b) {
        statusHolder.isStart = true;
        statusHolder.isStop = false;
    }

    @Override
    public void setReleaseStatus(boolean b) {

    }

    @Override
    public void setAlarmStatus(boolean b) {

    }
}
